<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>SOS</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
	<script type="text/javascript" src="js/sos.js"></script>
  	<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
	<script type="text/javascript">
	
	     
	function loadScript() {
	    var script = document.createElement("script");
	    script.src = "http://api.map.baidu.com/api?v=1.3&callback=initialize";
	    document.body.appendChild(script);
	}
	     
	//window.onload = loadScript;
	</script>
  </head>
  
  <body>
  	<form id="login" action="login" method="post">  
    用户名：<input type="text" value="" name="username" id="username"><br/>
    密码：<input type="password"  value="" name="password" id="password"><br/>
    <input type="button" value="登录" onclick="login()">
    <input style="display:none" type="submit" value="登录2" >
    </form>
     <p id="search" style="display:none">
     	查询<br/>
    	电话号码:<input id="phone" name="phone" type="text">
    	<input type="button" value="查询" onclick="getByPhone()">
    	
    </p>
    <table id="solist" style="display:none">
    
    </table>
    <p>注：单击姓名查看坐标，单击电话Id查看轨迹。
    </p>
    <div id="map" style="width:400px;height:420px"></div>
    
    <form action="location" method="post" style="display:none">
    	lon:<input type="text" value="23.1573164" name="lon" id="lon">
    	lat:<input type="text" value="113.3657809" name="lat" id="lat">
    	phoneid:<input type="text" value="460008871850429" name="phoneId" id="phoneid">
    	 <input type="submit" value="submit" >
    </form>
    <a style="display:none" id="guiji" onclick="mapLine()">轨迹</a>
    <div id="map2" style="width:800px;height:420px"></div>
  </body>
</html>
